﻿using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace ERP.Abp.IdentityServer.Devices;

public class DeviceFlowCodes : CreationAuditedAggregateRoot<Guid>
{
    public virtual string DeviceCode { get; set; }

    public virtual string UserCode { get; set; }

    public virtual string SubjectId { get; set; }

    public virtual string SessionId { get; set; }

    public virtual string ClientId { get; set; }

    public virtual string Description { get; set; }

    public virtual DateTime? Expiration { get; set; }

    public virtual string Data { get; set; }

    protected DeviceFlowCodes()
    {

    }

    public DeviceFlowCodes(Guid id)
    : base(id)
    {

    }
}
